package com.yanfan.energy.domain;

import java.io.Serializable;
import java.util.Date;

/**
 * 巡检打卡路线表(ClockingRoute)实体类
 *
 * @author makejava
 * @since 2023-03-09 14:56:23
 */
public class ClockingRoute implements Serializable {
    private static final long serialVersionUID = 898262133767947215L;
    /**
     * 主键
     */
    private Long id;
    /**
     * 打卡点名称
     */
    private String name;
    /**
     * 点位数量
     */
    private Integer numberPoints;
    /**
     * 状态（0：停用、1：启用）
     */
    private Integer state;
    /**
     * 创建人
     */
    private String createdBy;
    /**
     * 创建时间
     */
    private Date createdDate;
    /**
     * 修改时间
     */
    private Date lastModifiedDate;


    public ClockingRoute() {
    }

    public ClockingRoute(Long id, String name, Integer numberPoints, Integer state, String createdBy, Date createdDate, Date lastModifiedDate) {
        this.id = id;
        this.name = name;
        this.numberPoints = numberPoints;
        this.state = state;
        this.createdBy = createdBy;
        this.createdDate = createdDate;
        this.lastModifiedDate = lastModifiedDate;
    }

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public Integer getNumberPoints() {
        return numberPoints;
    }

    public void setNumberPoints(Integer numberPoints) {
        this.numberPoints = numberPoints;
    }

    public Integer getState() {
        return state;
    }

    public void setState(Integer state) {
        this.state = state;
    }

    public String getCreatedBy() {
        return createdBy;
    }

    public void setCreatedBy(String createdBy) {
        this.createdBy = createdBy;
    }

    public Date getCreatedDate() {
        return createdDate;
    }

    public void setCreatedDate(Date createdDate) {
        this.createdDate = createdDate;
    }

    public Date getLastModifiedDate() {
        return lastModifiedDate;
    }

    public void setLastModifiedDate(Date lastModifiedDate) {
        this.lastModifiedDate = lastModifiedDate;
    }

    @Override
    public String toString() {
        return "ClockingRoute{" + "id=" + id + ", name='" + name + '\'' + ", numberPoints=" + numberPoints + ", state=" + state + ", createdBy='" + createdBy + '\'' + ", createdDate=" + createdDate + ", lastModifiedDate=" + lastModifiedDate + '}';
    }
}

